package com.ruoyi.buy.domain.entity.PO;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 到货单主对象 inv_arrive_info
 * 
 * @author ruoyi
 * @date 2024-04-29
 */
public class InvArriveInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 到货单编号 */
    @Excel(name = "到货单编号")
    private String vArriveNo;

    /** 合同编号 */
    @Excel(name = "合同编号")
    private String vContractNo;

    /** 项目编号 */
    @Excel(name = "项目编号")
    private String vProjectNo;

    /** 申请人 */
    @Excel(name = "申请人")
    private String applyBy;

    /** 经办人 */
    @Excel(name = "经办人")
    private String oprBy;

    /** 供应商 */
    @Excel(name = "供应商")
    private String supplier;

    /** 到货日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "到货日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date arriveTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setvArriveNo(String vArriveNo) 
    {
        this.vArriveNo = vArriveNo;
    }

    public String getvArriveNo() 
    {
        return vArriveNo;
    }
    public void setvContractNo(String vContractNo) 
    {
        this.vContractNo = vContractNo;
    }

    public String getvContractNo() 
    {
        return vContractNo;
    }
    public void setvProjectNo(String vProjectNo) 
    {
        this.vProjectNo = vProjectNo;
    }

    public String getvProjectNo() 
    {
        return vProjectNo;
    }
    public void setApplyBy(String applyBy) 
    {
        this.applyBy = applyBy;
    }

    public String getApplyBy() 
    {
        return applyBy;
    }
    public void setOprBy(String oprBy) 
    {
        this.oprBy = oprBy;
    }

    public String getOprBy() 
    {
        return oprBy;
    }
    public void setSupplier(String supplier) 
    {
        this.supplier = supplier;
    }

    public String getSupplier() 
    {
        return supplier;
    }
    public void setArriveTime(Date arriveTime) 
    {
        this.arriveTime = arriveTime;
    }

    public Date getArriveTime() 
    {
        return arriveTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("vArriveNo", getvArriveNo())
            .append("vContractNo", getvContractNo())
            .append("vProjectNo", getvProjectNo())
            .append("applyBy", getApplyBy())
            .append("oprBy", getOprBy())
            .append("supplier", getSupplier())
            .append("arriveTime", getArriveTime())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
